/**
 * @Author: panda
 * @Date: 2022-05-18 10:44
 * @Description: 上传
 */
import type {AppRouteModule} from '@/router/types';

const upload: AppRouteModule = {
  path: '/upload',
  name: 'upload',
  component: () => import('@/views/UploadView.vue'),
  redirect: 'mainUpload',
  meta: {
    title: '上传'
  },
  children: [
    // 上传
    {
      path: '/mainUpload',
      name: 'mainUpload',
      component: () => import('@/components/upload/MainUpload.vue'),
      meta: {
        title: '上传'
      }
    }, // 上传管理
    {
      path: '/uploadManage',
      name: 'upload',
      component: () => import('@/components/upload/MainUpload.vue'),
      meta: {
        title: '上传'
      }
    }, // 数据中心
    {
      path: '/dataCenter',
      name: 'upload',
      component: () => import('@/components/upload/MainUpload.vue'),
      meta: {
        title: '上传'
      }
    }
  ]
}


export default upload;
